<div class="class-ico"><img src="/media/images/class.png" /></div>

<h1>{if $class->is_interface}Interface{else}{if $class->is_abstract}Abstract {/if}Class{/if} <span>{$class->name}</span></h1>
<div class="location">
    Located in <a class="field" href="/project/{$project->name}/docs/file{$class_location}">{$class_location}</a> (line 
	<span class="field">
	{if $class_slink}
	{$class_slink}
	{else}
	<span class="line-number"><a href="/project/{$project->name}/docs/file{$class_location}#l{$class->start_line}">{$class->start_line}</a></span>
	{/if}
	</span>)
</div>
<ul class="tags">
    {if $class_tags.author|count > 0}
    <li class="infoText author">Author(s): {implode array=$class_tags.author separator=','}</li>
    {/if}
    {if $class->version}<li class="infoText version">Version: {$class->version}</li>{/if}
    {if $class_tags.link}<li class="infoText link">{$class_tags.link}</li>{/if}
</ul>

<div class="spacer"/>
<table width="100%">
    <tbody>
    <tr>
        <td>
            <div class="leftColumn">

                {include file="wiki.tpl"}
            
				{*
                <div class="page {$covLevelClass}">
                    <div class="xtop"><div class="xb1"></div><div class="xb2"></div><div class="xb3"></div><div class="xb4"></div></div>
                    <div class="core">
                        <div class="coverage_ico"><img src="/media/images/coverage.png"></div>
                        <div class="coverage_indicator">
                            <span class="big">{$covered} %</span>
                        </div>
                        <table>
                        <tbody>
                            <tr>
                                <td><strong>Methods</strong> ({$methodsCoveredCount}/{$methodsCount})</td>
                                <td><strong>Statements</strong> (29/68)</td>
                            </tr>
                            <tr>
                                <td style="padding-right: 15px;">       
                                    <span class="progressBar percentImage2">
                                        <img style="width: 120px; height: 12px; background-position: -{$methodsCoveredpx}px 50%;" src="/media/images/percentImage.png">
                                        <span>{$methodsCovered}%</span>
                                    </span>
                                </td>
                                <td style="padding-right: 15px;">
                                    <span class="progressBar percentImage2">
                                        <img style="width: 120px; height: 12px; background-position: -69px 50%;" src="/media/images/percentImage.png">
                                        <span>42.65%</span>
                                    </span>
                                </td>
                            </tr>
                        </tbody>
                        </table>
                        <div class="spacer"></div>
                    </div>
                    <div class="xtop"><div class="xb4"></div><div class="xb3"></div><div class="xb2"></div><div class="xb1"></div></div>
                </div>   *}   
                <div class="spacer"></div>
                <div class="info">
                    <h2>Description</h2>
                    <div class="short-description italic fl" style="margin-left: 30px; margin-top: 10px;">
                        {$class->short_description}
                    </div>
                    <div class="description italic fl" style="margin-left: 30px;">
                        <p>{$doctype->description}</p>
                    </div>
                    {*
                    <ul class="tags">
                        <li>
                            <span class="field">see:</span> <a href="file:///Z:/home/bazalt/docs/BAZALT/Object.html">Object</a>, <a href="file:///Z:/home/bazalt/docs/Undocumented/IEventable.html">IEventable</a>
                        </li>
                    </ul>
                    *}
                    {if $class->extends != ''}
<pre class="inheritance">
{assign var="space" value=""}
{foreach from=$classTree item="cls_link" key="cls"}
{$space}{if $cls_link}<a href="/project/bazalt/docs/class/{$cls_link}">{else}<a>{/if}{$cls}</a>
{assign var="space" value="$space    "}
{/foreach}
{$space}<img src="/media/images/elbow-end.gif">{$class->name}
</pre>
                    {/if}
                </div>
				{if $class_methods|@count > 0 || $class_inherited_methods|@count > 0}
                <a name="Methods"></a>
                <div class="info">
                    <h2>Methods</h2>
					<div style="padding: 1em;">
						<table class="methods" height="100%" width="100%">
						<tbody>							
							{foreach from=$class_methods item="method"}
								{include file="docs/method_info.tpl" method=$method m_params=$method->PhpdocParams->get()}							
							{/foreach}
							{foreach from=$class_inherited_methods item="inherited_method"}
								{include file="docs/method_info.tpl" parent=$inherited_method->ParentPhpdocClass method=$inherited_method->PhpdocMethod m_params=$inherited_method->PhpdocMethod->PhpdocParams->get() inherited=true}
							{/foreach}
						</tbody>
						</table>
					</div>					
                </div>
				{/if}
				{if $class_variables|@count > 0 || $class_inherited_variables|@count > 0}
                <a name="Variables"></a>
                <div class="info">
                    <h2>Variables</h2>
					<div style="padding: 1em;">
						<table class="methods" height="100%" width="100%">
						<tbody>			
							{foreach from=$class_variables item="variable"}							
								{include file="docs/variable_info.tpl" variable=$variable}														
							{/foreach}
							{foreach from=$class_inherited_variables item="variable"}							
								{include file="docs/variable_info.tpl" variable=$variable->PhpdocVariable parent=$variable->ParentPhpdocClass inherited=true}
							{/foreach}
						</tbody>
						</table>
					</div>                    
                </div>
				{/if}
				{if $class_consts|@count > 0 || $class_inherited_consts|@count > 0}
                <a name="Constants"></a>
                <div class="info">
                    <h2>Constants</h2>
					<div style="padding: 1em;">
						<table class="methods" height="100%" width="100%">
						<tbody>						
							{foreach from=$class_consts item="const"}
								{include file="docs/const_info.tpl" const=$const}
							{/foreach}
							{foreach from=$class_inherited_consts item="const"}							
								{include file="docs/const_info.tpl" const=$const->PhpdocConst parent=$const->ParentPhpdocClass inherited=true}
							{/foreach}
						</tbody>
						</table>
					</div>                    
                </div>
				{/if}
            </div>
        </td>
        <td width="250">
            <div class="rightColumn">
                <div class="page rightmenu">
                    <div class="xtop"><div class="xb1"></div><div class="xb2"></div><div class="xb3"></div><div class="xb4"></div></div>
                    <div class="core">
                        <h5>Navigator</h5>
                        <ul class="menu">
							{if $class_methods|@count > 0 || $class_inherited_methods|@count > 0}
                            <li class="method">
                                <a href="#Methods">Methods {if $count_methods > 0}<strong>( {$count_methods} )</strong>{/if}</a>
                            </li>
							{/if}
							{if $class_variables|@count > 0 || $class_inherited_variables|@count > 0}
                            <li class="var">
                                <a href="#Variables">Variables {if $count_variables > 0}<strong>( {$count_variables} )</strong>{/if}</a>
                            </li>
							{/if}
							{if $class_consts|@count > 0 || $class_inherited_consts|@count > 0}
                            <li class="const">
                                <a href="#Constants">Constants {if $count_consts > 0}<strong>( {$count_consts} )</strong>{/if}</a>
                            </li>
							{/if}
                        </ul>
                        <div class="spacer"><!----></div>           
                    </div>
                    <div class="xtop"><div class="xb4"></div><div class="xb3"></div><div class="xb2"></div><div class="xb1"></div></div>
                </div>
                {if $class_tags.todo|@count > 0}
                <div class="page rightmenu">
                    <div class="xtop"><div class="xb1"></div><div class="xb2"></div><div class="xb3"></div><div class="xb4"></div></div>
                    <div class="core">
                        <h5>ToDo</h5>                        
                        <ul class="menu">
                            {foreach from=$class_tags.todo item="todo"}
                            <li class="todo">{$todo}</li>
                            {/foreach}
                        </ul>                        
                        <div class="spacer"><!----></div>
                    </div>
                    <div class="xtop"><div class="xb4"></div><div class="xb3"></div><div class="xb2"></div><div class="xb1"></div></div>
                </div>
                {/if}

                {if true}
                <div class="page rightmenu">
                    <div class="xtop"><div class="xb1"></div><div class="xb2"></div><div class="xb3"></div><div class="xb4"></div></div>
                    <div class="core">

                    <h5>Child classes</h5>

                    <ul class="menu">
                        <li class="abstract-class"><a href="../BAZALT/DataTypes/AbstractDataType.html">AbstractDataType</a></li>
                        <li class="class"><a href="../BAZALT/DataTypes/Collection.html">Collection</a></li>

                        <li class="class"><a href="../BAZALT/Event.html">Event</a></li>
                        <li class="class"><a href="../BAZALT/Library/Library.html">Library</a></li>
                        <li class="class"><a href="../BAZALT/Serializer.html">Serializer</a></li>
                        <li class="class"><a href="../BAZALT/XmlSerializer.html">XmlSerializer</a></li>
                        <li class="class"><a href="../BAZALT/Type.html">Type</a></li>
                    </ul>

                    <div class="spacer"><!----></div>

                    </div>
                    <div class="xtop"><div class="xb4"></div><div class="xb3"></div><div class="xb2"></div><div class="xb1"></div></div>
                </div>
                {/if}
            </div>
        </td>
    </tr>
    </tbody>
</table>